//to reset element-ui default css
.el-upload {
	input[type="file"] {
		display: none !important;
	}
}

.el-upload__input {
	display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
	transform: none;
	left: 0;
	position: relative;
	margin: 0 auto;
	box-shadow: 0px 3px 5px 0px rgba(164, 167, 182, 0.3);
	border-radius: 4px;
}

//element ui upload
.upload-container {
	.el-upload {
		width: 100%;

		.el-upload-dragger {
			width: 100%;
			height: 200px;
		}
	}
}
// 树控件
.el-tree-node__content {
	height: auto;
}

.custom-tree-node,
.el-tree-node__content {
	align-items: flex-start !important;
}

.el-tree-node__expand-icon {
	margin-top: 7px;
}

// tree控件
.el-tree-node:nth-child(odd) {
	background: #f6f6f6;
}

.el-tree-node__content:hover {
	background-color: #d6d6d6;
}

// 日历图标
.el-input__icon.el-icon-date {
	color: #c0c4cc !important;
}

// 分页
.el-pagination.is-background {
	.el-pager {
		li:not(.disabled).active {
			color: #fff !important;
			background: #3569d7 !important;
			box-shadow: 0px 3px 5px 0px rgba(164, 167, 182, 0.3);
			border-radius: 4px;
		}

		li {
			background: #fff !important;
			box-shadow: 0px 3px 5px 0px rgba(164, 167, 182, 0.3);
			border-radius: 4px;
		}
	}

	.btn-next,
	.btn-prev {
		background: #fff !important;
		box-shadow: 0px 3px 5px 0px rgba(164, 167, 182, 0.3);
		border-radius: 4px;
	}
	.el-input {
		height: 28px !important;
		line-height: 28px !important;
	}
	.el-input__inner {
		background: rgba(246, 248, 254, 1);
		border-radius: 4px;
		border: 1px solid rgba(229, 229, 229, 1);
	}
	.el-input__icon {
		line-height: 28px;
	}
}
// table
.el-table th > .cell {
	font-weight: normal;
	color: #333;
}
.el-table th,
.el-table td {
	padding: 10px 0;
}
.el-input__suffix {
	right: 1px !important;
	top: -1px;
}
//tab
.el-tabs__item.is-top {
	min-width: 6em;
	text-align: center;
}
